package com.team.service;

import com.github.pagehelper.PageInfo;
import com.team.entity.PageParameter;
import com.team.entity.SysUsers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.team.entity.Users;
import com.team.util.MenuDto;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author asus
* @description 针对表【sys_users(用户表)】的数据库操作Service
* @createDate 2024-07-13 14:39:20
*/
public interface SysUsersService extends IService<SysUsers> {
    SysUsers login(String username,String password);
    public PageInfo<Users> getAllUsers(PageParameter pageParameter);
    boolean addUser(SysUsers user);
    int updateUser(Integer id,String password,String headUrl);
    List<MenuDto> getUserMenu(Long uid);
}
